package com.weipai.turnplate.service;

import com.weipai.turnplate.model.Turnplate;
import com.weipai.turnplate.model.Turnplaterollcall;
import com.weipai.turnplate.model.api.Response;
import com.weipai.turnplate.model.drawcode;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author: 赵项阳
 * @Date: 2019/6/1 11:29
 * @Version 1.0
 */
public interface TurnplateService {

  Response lottery(String drawcode,String name,String mobile,String address,String provinces);//抽奖

  Response updateByDrawCode(Integer[] id,String[] drawcode);//修改抽奖码(或奖品名称)


  Response list( Integer visible,Integer paze,Integer size);//展示列表

  Response save(drawcode drawcode);

  Response updatebatch(List<drawcode>drawcodes);

  Response listinquire(String grade);

  Response img(String img, String id);
}
